package com.kingdee.eas.mx.exp.pl;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class ProfitLossFactory
{
    private ProfitLossFactory()
    {
    }
    public static com.kingdee.eas.mx.exp.pl.IProfitLoss getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.mx.exp.pl.IProfitLoss)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("E29D6277") ,com.kingdee.eas.mx.exp.pl.IProfitLoss.class);
    }
    
    public static com.kingdee.eas.mx.exp.pl.IProfitLoss getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.mx.exp.pl.IProfitLoss)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("E29D6277") ,com.kingdee.eas.mx.exp.pl.IProfitLoss.class, objectCtx);
    }
    public static com.kingdee.eas.mx.exp.pl.IProfitLoss getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.mx.exp.pl.IProfitLoss)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("E29D6277"));
    }
    public static com.kingdee.eas.mx.exp.pl.IProfitLoss getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.mx.exp.pl.IProfitLoss)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("E29D6277"));
    }
}